<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Class: MywikiControllerTest</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
  <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
  <script type="text/javascript">
  // <![CDATA[

  function popupCode( url ) {
    window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
  }

  function toggleCode( id ) {
    if ( document.getElementById )
      elem = document.getElementById( id );
    else if ( document.all )
      elem = eval( "document.all." + id );
    else
      return false;

    elemStyle = elem.style;
    
    if ( elemStyle.display != "block" ) {
      elemStyle.display = "block"
    } else {
      elemStyle.display = "none"
    }

    return true;
  }
  
  // Make codeblocks hidden by default
  document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
  
  // ]]>
  </script>

</head>
<body>



    <div id="classHeader">
        <table class="header-table">
        <tr class="top-aligned-row">
          <td><strong>Class</strong></td>
          <td class="class-name-in-header">MywikiControllerTest</td>
        </tr>
        <tr class="top-aligned-row">
            <td><strong>In:</strong></td>
            <td>
                <a href="../files/test/functional/mywiki_controller_test_rb.html">
                test/functional/mywiki_controller_test.rb
                </a>
        <br />
            </td>
        </tr>

        <tr class="top-aligned-row">
            <td><strong>Parent:</strong></td>
            <td>
                ActionController::TestCase
            </td>
        </tr>
        </table>
    </div>
  <!-- banner header -->

  <div id="bodyContent">



  <div id="contextContent">



   </div>

    <div id="method-list">
      <h3 class="section-bar">Methods</h3>

      <div class="name-list">
      <a href="#M000017">test_edit</a>&nbsp;&nbsp;
      <a href="#M000020">test_edit_unauthorized</a>&nbsp;&nbsp;
      <a href="#M000012">test_index</a>&nbsp;&nbsp;
      <a href="#M000011">test_login</a>&nbsp;&nbsp;
      <a href="#M000015">test_new</a>&nbsp;&nbsp;
      <a href="#M000016">test_new_title</a>&nbsp;&nbsp;
      <a href="#M000018">test_new_unauthorized</a>&nbsp;&nbsp;
      <a href="#M000013">test_view</a>&nbsp;&nbsp;
      <a href="#M000014">test_view_non_existent</a>&nbsp;&nbsp;
      <a href="#M000019">test_view_unauthorized</a>&nbsp;&nbsp;
      </div>
    </div>

  </div>


    <!-- if includes -->

    <div id="section">





      


    <!-- if method_list -->
    <div id="methods">
      <h3 class="section-bar">Public Instance methods</h3>

      <div id="method-M000017" class="method-detail">
        <a name="M000017"></a>

        <div class="method-heading">
          <a href="MywikiControllerTest.src/M000017.html" target="Code" class="method-signature"
            onclick="popupCode('MywikiControllerTest.src/M000017.html');return false;">
          <span class="method-name">test_edit</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
test edit page
</p>
        </div>
      </div>

      <div id="method-M000020" class="method-detail">
        <a name="M000020"></a>

        <div class="method-heading">
          <a href="MywikiControllerTest.src/M000020.html" target="Code" class="method-signature"
            onclick="popupCode('MywikiControllerTest.src/M000020.html');return false;">
          <span class="method-name">test_edit_unauthorized</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
try to edit page with user without edit privilege
</p>
        </div>
      </div>

      <div id="method-M000012" class="method-detail">
        <a name="M000012"></a>

        <div class="method-heading">
          <a href="MywikiControllerTest.src/M000012.html" target="Code" class="method-signature"
            onclick="popupCode('MywikiControllerTest.src/M000012.html');return false;">
          <span class="method-name">test_index</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
get index page
</p>
        </div>
      </div>

      <div id="method-M000011" class="method-detail">
        <a name="M000011"></a>

        <div class="method-heading">
          <a href="MywikiControllerTest.src/M000011.html" target="Code" class="method-signature"
            onclick="popupCode('MywikiControllerTest.src/M000011.html');return false;">
          <span class="method-name">test_login</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
get login page
</p>
        </div>
      </div>

      <div id="method-M000015" class="method-detail">
        <a name="M000015"></a>

        <div class="method-heading">
          <a href="MywikiControllerTest.src/M000015.html" target="Code" class="method-signature"
            onclick="popupCode('MywikiControllerTest.src/M000015.html');return false;">
          <span class="method-name">test_new</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
test new page creation
</p>
        </div>
      </div>

      <div id="method-M000016" class="method-detail">
        <a name="M000016"></a>

        <div class="method-heading">
          <a href="MywikiControllerTest.src/M000016.html" target="Code" class="method-signature"
            onclick="popupCode('MywikiControllerTest.src/M000016.html');return false;">
          <span class="method-name">test_new_title</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
test new page creation with given title
</p>
        </div>
      </div>

      <div id="method-M000018" class="method-detail">
        <a name="M000018"></a>

        <div class="method-heading">
          <a href="MywikiControllerTest.src/M000018.html" target="Code" class="method-signature"
            onclick="popupCode('MywikiControllerTest.src/M000018.html');return false;">
          <span class="method-name">test_new_unauthorized</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
try to create new page with user without create privilege
</p>
        </div>
      </div>

      <div id="method-M000013" class="method-detail">
        <a name="M000013"></a>

        <div class="method-heading">
          <a href="MywikiControllerTest.src/M000013.html" target="Code" class="method-signature"
            onclick="popupCode('MywikiControllerTest.src/M000013.html');return false;">
          <span class="method-name">test_view</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
view page
</p>
        </div>
      </div>

      <div id="method-M000014" class="method-detail">
        <a name="M000014"></a>

        <div class="method-heading">
          <a href="MywikiControllerTest.src/M000014.html" target="Code" class="method-signature"
            onclick="popupCode('MywikiControllerTest.src/M000014.html');return false;">
          <span class="method-name">test_view_non_existent</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
try to view non-existent page
</p>
        </div>
      </div>

      <div id="method-M000019" class="method-detail">
        <a name="M000019"></a>

        <div class="method-heading">
          <a href="MywikiControllerTest.src/M000019.html" target="Code" class="method-signature"
            onclick="popupCode('MywikiControllerTest.src/M000019.html');return false;">
          <span class="method-name">test_view_unauthorized</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
try to view page with user without read privilege
</p>
        </div>
      </div>


    </div>


  </div>


<div id="validator-badges">
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>

</body>
</html>